home *** CD-ROM | disk | FTP | other *** search
/ Java Programmer's Toolkit / Java Programmer's Toolkit.iso / gs3.53 / history1.doc < prev    next >
Text File  |  1996-01-10  |  13KB  |  342 lines

  1.    Copyright (C) 1992, 1993, 1994 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of Aladdin Ghostscript.
  4.   
  5.   Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  9.   License (the "License") for full details.
  10.   
  11.   Every copy of Aladdin Ghostscript must include a copy of the License,
  12.   normally in a plain ASCII text file named PUBLIC.  The License grants you
  13.   the right to copy, modify and redistribute Aladdin Ghostscript, but only
  14.   under certain conditions described in the License.  Among other things, the
  15.   License requires that the copyright notice and this notice be preserved on
  16.   all copies.
  17.  
  18. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  19.  
  20. This file, history1.doc, describes the changes in older releases of
  21. Ghostscript numbered 1.n.  For more recent changes, see the history2.doc
  22. and NEWS files.
  23.  
  24. For an overview of Ghostscript and a list of the documentation files, see
  25. README.
  26.  
  27. Version 1.3 (6/20/89)
  28. ===========
  29.  
  30. This release should have had a lot more things in it, but time pressure
  31. and the already long delay in getting it out made it necessary to push it
  32. out the door in an incomplete state (e.g., no testing on X systems
  33. whatsoever).
  34.  
  35. Interpreter
  36. -----------
  37.  
  38. Makes -d and -D equivalent on the command line.  Adds a new switch -s / -S
  39. that defines a name as a string rather than a token.
  40.  
  41. Arranges things so that if -sLIB=_a_prefix_ is defined on the command
  42. line, (filename) run will look for _a_prefix_filename before giving up if
  43. filename isn't the name of an accessible file.
  44.  
  45. Changes showpage from an operator to a procedure.  The definition of
  46. showpage in ghost.ps does a copypage, beeps the console, waits for the
  47. user to type a character (normally a <return>, since line buffering is
  48. always enabled), and then does an erasepage and an initgraphics.
  49.  
  50. Adds a new initialization file, gdevs.ps, containing device-dependent
  51. parameters.  The default window size for X Windows is properly set to 612
  52. x 792, i.e., 8.5" x 11".
  53.  
  54. Adds a new optional initialization file, statusd.ps, that provides dummy
  55. definitions for the names found in statusdict on LaserWriters.
  56.  
  57. Adds a new operator, getenv, to get information from the shell
  58. environment.
  59.  
  60. Adds a new predefined operator, defaultdevicename, that returns either (X)
  61. or (EGA) according to how the interpreter was built.
  62.  
  63. Adds a new type, devicetype, and new operators deviceparams, getscanlines,
  64. makedevice, makeimagedevice, and setdevice.  Changes currentdevice to
  65. return a device object rather than a set of parameters.
  66.  
  67. Makes the scanner recognize reals with 'e' exponent notation, and handle
  68. reals with more than 9 digits.
  69.  
  70. Fixes a bug that made names starting with digits read incorrectly.
  71.  
  72. Fixes a bug in the exp operator that made it not pop its first argument
  73. from the stack.
  74.  
  75. Fixes a bug in the rand operator that made it return negative values about
  76. half the time.
  77.  
  78. Fixes a bug in equality comparison (eq, ne, and several other operators)
  79. that made unequal operator objects occasionally appear to be equal on DOS
  80. systems.
  81.  
  82. Fixes a bug in the bind operator that made it not work on packed arrays.
  83.  
  84. Changes the internal representation of dictionaries so they can be
  85. expanded or contracted dynamically.  Adds a new operator, setmaxlength, to
  86. change the allocated size of a dictionary.
  87.  
  88. Changes sstorei.h so that non-DOS compilers don't encounter the #pragma
  89. directive used by Turbo C.
  90.  
  91. Restores the display mode (on MS-DOS systems) when exiting.
  92.  
  93. Fonts
  94. -----
  95.  
  96. Makes undefined characters in the standard font display as tilde rather
  97. than blank (or causing an error).  Unmapped character codes (those mapped
  98. to .notdef in the encoding) still display as nothing, per the PostScript
  99. manual.
  100.  
  101. Library
  102. -------
  103.  
  104. Adds a new header file, gxbitmap.h, with some new documentation describing
  105. the internal storage format for bitmaps.
  106.  
  107. Makes numerous internal changes in the character / font cache, affecting
  108. many of the routines in gxcache.c.
  109.  
  110. Fixes a bug in gz_draw_line / gz_fill_trapezoid that made nearly
  111. horizontal lines display wrong.
  112.  
  113. Fixes a bug in gs_scale that made scaling not work if the coordinate
  114. system was rotated or skewed.
  115.  
  116. Extends the font cache so it will handle characters rotated by multiples
  117. of 90 degrees.
  118.  
  119. Changes the second argument of gx_path_bbox and gx_path_is_rectangle to be
  120. a gs_fixed_rect * rather than a fixed [4].
  121.  
  122. Changes gs_matrix_rotate so it handles multiples of 90 degrees as a
  123. special case.
  124.  
  125. Changes the definition of the gx_device structure to accommodate the new
  126. device operators, and adds corresponding library calls.
  127.  
  128. Changes the type for a device color index from int to gx_color_index
  129. (equivalent to unsigned long).  ***NOTE***: this affects existing clients
  130. and drivers in a non-trivial way on MS-DOS systems.
  131.  
  132. Changes gs_malloc and gs_free to take a client name string as an argument.
  133.  
  134. Usage procedures
  135. ----------------
  136.  
  137. Changes the compilation rules for Unix systems to not use the -o and -c
  138. compiler flags together, to be compatible with more versions of cc.
  139.  
  140. Changes the gcc makefile to use $(GCC) rather than gcc as the compiler
  141. name.
  142.  
  143. Moves the -1 flag for the MS-DOS compiler from the cc*.bat files to the
  144. makefile.
  145.  
  146. Changes CCDEBUG to CCFLAGS, and adds ASMFLAGS, in DOS makefile.
  147.  
  148. Adds -DFOR80386 and /DFOR80386 to enable use of 80386 instructions in
  149. assembly code on DOS systems.
  150.  
  151. Merges the DEBUG and gs_DEBUG switches.  There is now only a single DEBUG
  152. switch that affects both the interpreter and the library.
  153.  
  154. Adds a new compilation switch, -DNOPRIVATE, that makes private (static)
  155. variables and procedures public for debugging and profiling (only needed
  156. on DOS systems).
  157.  
  158. Adds the DOS executable (gs.exe and gs.map) to the distribution fileset.
  159.  
  160. Adds new platform-specific code files, gp-*.c, for a few things like
  161. reading the clock.
  162.  
  163. Adds a new documentation file, drivers.doc, that describes the interface
  164. between Ghostscript and device drivers.
  165.  
  166. Version 1.2 (2/22/89)
  167. ===========
  168.  
  169. Interpreter
  170. -----------
  171.  
  172. Adds the new facilities in version 25 of PostScript: //name for immediate
  173. lookup, packed arrays (setpacking, currentpacking, packedarray operators),
  174. and new font cache parameters (setcacheparams, currentcacheparams
  175. operators).
  176.  
  177. Adds new operators (setfileposition, currentfileposition) for random
  178. access to files.
  179.  
  180. Extends readhexstring to take either a string or a file, just like token.
  181.  
  182. Fixes a bug that caused the 'for' operator (and a couple of others) to
  183. randomly smash memory locations on PC platforms.
  184.  
  185. Library
  186. -------
  187.  
  188. Renames the init_device driver procedure as open_device, and adds a
  189. corresponding close_device.
  190.  
  191. Adds new procedures to read and set the cache limit values (implementing
  192. the currentcacheparams and setcacheparams operators).
  193.  
  194. Usage procedures
  195. ----------------
  196.  
  197. Changes the name of the Unix makefile to ux-cc-x.mak, and adds a new Unix
  198. makefile, ux-gcc-x.mak, for using gcc instead of cc.  (The latter doesn't
  199. actually work yet.)
  200.  
  201. Changes the name of the single built-in font from uglyfont.cp to
  202. ugly10.cp.
  203.  
  204. Version 1.1 (2/12/89)
  205. ===========
  206.  
  207. Interpreter
  208. -----------
  209.  
  210. Makes the scanner treat ^Z (ASCII code 26) as whitespace: it erroneously
  211. treated ^R (ASCII code 22, or octal 26) as whitespace.
  212.  
  213. Makes the token and readline operators, and the syntax for comments,
  214. recognize \r (code 13), \n (code 10), and \r\n as equivalent end-of-line
  215. indicators.  The token and readline operators will skip over any of these
  216. sequences at the end of a token or line respectively, and a comment will
  217. read through any of these sequences.  The other file operators (read,
  218. write, readstring, writestring) do nothing special with these characters.
  219.  
  220. Changes the debug switch name from -D to -Z.  Adds a -D switch for
  221. defining names in systemdict from the command line.  Defines -DDEBUG for
  222. printing out debugging information during initialization, and -DNODISPLAY
  223. for suppressing display output.
  224.  
  225. Corrects a bug that prevented the error machinery from working -- in
  226. version 1.0, errors always dumped the stacks and aborted interpretation.
  227.  
  228. Corrects a bug that made eq and ne not work for strings.
  229.  
  230. Makes the atan (arctangent) operator normalize its results according to
  231. the PostScript convention.
  232.  
  233. Makes the div operator check for zero divisor.
  234.  
  235. Makes unimplemented operators (resetfile, echo, save, restore, strokepath,
  236. reversepath) truly undefined.
  237.  
  238. Makes the interactive loop exit gracefully on end-of-file: in version 1.0
  239. this caused an infinite loop.
  240.  
  241. Implements the status operator.
  242.  
  243. Corrects a bug that made the 'for' operator deliver garbage values if one
  244. or more of the operands (start, increment, end) was a real.
  245.  
  246. Corrects a bug that made the arc and arcn operators not pop their operands
  247. from the stack.
  248.  
  249. Corrects a bug that made the kshow operator crash the interpreter.
  250.  
  251. Corrects a bug that made the print operator fail on machines that don't
  252. pass structure arguments by simply pushing the contents of the structure.
  253.  
  254. Adds a new operator, imagecharpath, to convert images to
  255. addcharpath-compatible outlines.
  256.  
  257. Changes alloc and alloc_free to use char * rather than byte *, and
  258. alloc_free to return void rather than int, making them compatible with the
  259. library's expectations and with malloc/free.
  260.  
  261. Explicitly casts all expressions of the form (ptr1 - ptr2) used as
  262. procedure arguments to unsigned, to handle an incompatibility between
  263. Turbo C versions 1.5 and 2.0.
  264.  
  265. Changes some of the internal conventions for operators: operators that
  266. push on the operand stack must check for overflow explicitly, and
  267. operators that modify the execution stack must return a special code.
  268. (See oper.h for details.)
  269.  
  270. Initialization (ghost.ps, gfonts.ps)
  271. --------------
  272.  
  273. Modifies ghost.ps and gfonts.ps so they print debugging information only
  274. if the name DEBUG is defined.  (Presumably the user will set this from the
  275. command line with -DDEBUG.)
  276.  
  277. Changes ghost.ps so it initializes the nominal screen size to 640 x 350 on
  278. MS-DOS systems as before, but to 612 x 792 on Unix systems, which is an
  279. 8.5" x 11" page at 72 pixels per inch.
  280.  
  281. Library
  282. -------
  283.  
  284. Corrects a bug that made the fill and eofill operators (gs_fill and
  285. gs_eofill) not perform a newpath afterward.
  286.  
  287. Corrects the bug that made thin, nearly horizontal lines display wrong (as
  288. a series of disconnected dots) in the MS-DOS implementation.
  289.  
  290. Fixes a bug in the EGA driver that often made it fill rectangular regions
  291. with black around information being displayed in white.
  292.  
  293. Completely changes the internal representation of outline fonts, and
  294. changes btoi.ps (a Ghostscript language program for converting bitmaps to
  295. outlines) to use a new library call, gs_imagecharpath.
  296.  
  297. Changes the extension for outline font files from .gf to .cp.
  298.  
  299. Adds a new debugging switch, q, that traces all rectangle fill operations.
  300.  
  301. Adds a new debugging switch, v, that traces all device-level output calls.
  302.  
  303. Explicitly casts pointer differences passed as procedure arguments, as in
  304. the interpreter.
  305.  
  306. Makes stringwidth work if there is no current point.  In version 1.0, this
  307. gave a nocurrentpoint error.
  308.  
  309. Usage procedures
  310. ----------------
  311.  
  312. Changes the name of the 'read me' file from READ.ME to README.
  313.  
  314. Removes a bogus line (invoking the 'mcopy' utility) from the makefile.
  315.  
  316. Splits up the makefile into a generic part (ghost.mak) and
  317. platform-specific parts (dos-ega.mak, unix-x11.mak).  The latter are what
  318. is actually executed.
  319.  
  320. Puts the definitions of the DEBUG and gs_DEBUG compilation flags into the
  321. makefile instead of in ghost.h and gx.h respectively.
  322.  
  323. Changes the names of the documentation files to be a little less cryptic.
  324. Changes all the file names to lower-case in the documentation.  Adds
  325. installation information to make.doc.
  326.  
  327. Changes all function definitions (but not prototype declarations) to ANSI
  328. syntax, and adds a preprocessing step (ansi2knr) to convert them to K&R
  329. syntax on Unix systems.
  330.  
  331. Changes the normal MS-DOS link configuration to not assume the presence of
  332. an 80x87 coprocessor, and describes how to increase performance if a
  333. coprocessor is present.
  334.  
  335. Changes the names of all the interpreter .c files, except stream.c, to
  336. begin with 'i'.
  337.  
  338. Version 1.0 (8/11/88)
  339. ===========
  340.  
  341. First version released to the public.
  342.